<?php
// +----------------------------------------------------------------------
// | zhanshop-mcp / FFmpegService.php    [ 2025/8/7 14:26 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2011~2025 zhangqiquan All rights reserved.
// +----------------------------------------------------------------------
// | Author: zhangqiquan <768617998@qq.com>
// +----------------------------------------------------------------------
declare (strict_types=1);

namespace app\api\mcp\v1\service;

class FFmpegService
{
    /**
     * @param string $url
     * @param string $format
     * @return array
     */
    public function postConvert(string $url, string $format)
    {
        return [
            'url' => 'http://baidu.com/'.microtime(true).'.'.$format,
            'size' => rand(1,100).'MB'
        ];
    }
}